<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>商城首页</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/index.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/css.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/normalize.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/demo.css">
    <link rel="stylesheet" href="__PUBLIC__/home/css/app.css">
</head>
<body>
<include file="Public:left" />
<div id="cont">
    <div id="head">
        <a href=""><img id="logo" src="__PUBLIC__/home/imeags/logo.png"></a>
        <ul>
            <volist name="sorts" id="vo">
                <li><a href="__MODULE__/Sort/sort/id/{$vo.id}">{$vo.title}</a></li>
            </volist>
        </ul>
        <span id="seek"><input type="" name="">&nbsp;&nbsp;<input type="button" value="搜索" class="search"></span>
        <div id="login">
            <ul>
                <li class="login"><img src="__PUBLIC__/home/imeags/my.png"><a href="
                    <?php
                        $a = session('member');
                         if($a[0]['username'] == ''|| $a[0]['username'] == null)
                         {
                            echo '__MODULE__/Login/login';
                         }else{
                            echo '__MODULE__/Personal/personal';
                         }
                       ?>">
                    <?php
                        $a = session('member');
                         if($a[0]['username'] == ''|| $a[0]['username'] == null)
                         {
                            echo '登录';
                         }else{
                            echo $a[0]['username'];
                         }
                       ?>
                </a></li>
                <li><img src="__PUBLIC__/home/imeags/cart.png"><a href="__MODULE__/Cart/cart">购物车</a></li>
            </ul>
        </div>
    </div>
    <div class="slider">
        <div class="slider-img">
            <ul class="slider-img-ul">
                <li>
                    <a href=""><img
                            src="http://image.liqunshop.com/upload/upload/supplier/2015/03/10/BigPhoto/201503101048554972.jpg "></a>
                </li>
                <li>
                    <a href=""><img
                            src="http://image.liqunshop.com/upload/upload/supplier/2015/03/10/BigPhoto/201503101048554972.jpg "></a>
                </li>
                <li>
                    <a href=""><img src=" __PUBLIC__/home/imeags/jili.jpg"></a>
                </li>
                <li>
                    <a href=""><img
                            src=" http://img.zcool.cn/community/014f6b580733d4a84a0e282b59ea90.jpg@900w_1l_2o_100sh.jpg"></a>
                </li>
                <li>
                    <a href=""><img
                            src=" http://img.zcool.cn/community/01180c580733d4a84a0d304fbdf86c.jpg@900w_1l_2o_100sh.jpg"></a>
                </li>
                <li>
                    <a href=""><img
                            src=" http://img.zcool.cn/community/0187925543f83f0000019ae9dabbfc.jpg@900w_1l_2o_100sh.jpg"></a>
                </li>
                <li>
                    <a href=""> <img src=" http://pic34.nipic.com/20131018/3891920_155109186155_2.jpg"></a>
                </li>
            </ul>
        </div>

    </div>
    <script src="__PUBLIC__/home/js/jquery-1.11.0.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="__PUBLIC__/home/js/xSlider.js"></script>
    <div id="main">
        <div id="lside">
            <volist name="good_es" id="vo">
                <div class="show">
                    <h2><a href="__MODULE__/Details/details/id/{$vo.id}">{$vo.goods_title}</a></h2>
                    <a href="__MODULE__/Details/details/id/{$vo.id}"><img src="{$vo.goods_pic}"></a>
                    <p>价格：￥{$vo.goods_price}元</p>
                </div>
            </volist>
        </div>
        <include file="Public:right"/>
    </div>
    <include file="Public:footer"/>
</div>
</body>
</html>